﻿using SelfManagement.Database.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SelfManagement.Database.POCO
{
    /// <summary>
    /// 用户基础类
    /// </summary>
    public class UserBase: EntityBase
    {
        [Required]
        public string User_Id { get; set; }

        [ForeignKey("User_Id")]
        public virtual User User { get; set; }
    }
}
